<html>
<head><meta charset="utf-8"><title>tips re compile time · t-compiler/wg-diagnostics · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/index.html">t-compiler/wg-diagnostics</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/tips.20re.20compile.20time.html">tips re compile time</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="209328213"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/tips%20re%20compile%20time/near/209328213" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/tips.20re.20compile.20time.html#209328213">(Sep 07 2020 at 21:19)</a>:</h4>
<p>I'm interested in playing around with how diagnostics are emitted, but it takes <del>several</del> 10 minutes to compile since a bunch of crates depend on <code>rustc_errors</code>. Do you have any tips for how to make small changes and see the output quickly? Or is that just not possible? Thanks!</p>



<a name="209340713"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/tips%20re%20compile%20time/near/209340713" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Macdonald <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/tips.20re.20compile.20time.html#209340713">(Sep 08 2020 at 02:32)</a>:</h4>
<p>Have tried using the " --keep-stage 1"  flag as described in the <a href="https://rustc-dev-guide.rust-lang.org/building/suggested.html#incremental-builds-with---keep-stage">rustc dev guide</a> ? My compile times with this are usually  under 2 mins</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>